import { connect } from 'react-redux';
import reducer from '../store/detail';
import { injectReducer } from '../store/reducers';
import store from '../store/createStore';
import Detail from '../components/Detail';

const mapDispatchToProps = {};

const mapStateToProps = state => ({});

injectReducer(store, { key: 'detail', reducer });

export default connect(
  mapStateToProps,
  mapDispatchToProps
)(Detail);
